package com.firewolf.mains;

import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.firewolf.s02.annotation.AnnotationService;

@Service
public class MyAction {

	//引用服务，注意直连方式下不小少了url配置
	@Reference(url = "localhost:20880")
	private AnnotationService s;

	public void conn(String... strings) {
		System.out.println(s.connectionStrs(strings));
	}
}
